package com.ant.collect.service;

import com.ant.collect.dto.MaterialDto;
import com.ant.collect.dto.OrganicDto;
import com.ant.collect.pojo.Organic;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hzd
 * @since 2025-10-31
 */
public interface IOrganicService extends IService<Organic> {

    List<Organic> listById(Integer id);

    Organic saveOrganic(OrganicDto dto);

    Map<String, Object> queryPageList(OrganicDto dto);

    Organic findOrganicDetails(Integer id);

    void findApproved(Integer id,Integer status);

    Map<String, Object> findListCompanyIdPage(OrganicDto dto);
}
